﻿using System;

namespace diantou.web.enterprise
{
    /// <summary>
    /// 考试邀请
    /// </summary>
    [fastCSharp.code.cSharp.webView(IsPage = false, IsPool = true)]
    partial class invitation : sendMessage<invitation>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="examId"></param>
        /// <returns></returns>
        private bool loadView(int examId)
        {
            exam = diantou.examDataAccess.clientCache.GetExam(examId, currentUser, false);
            if (exam != null) return true;
            AjaxResponse(webConfig.NotFound404);
            return false;
        }
    }
}
